package com.zhs.gccs.mbtiles.server;

import java.io.Serializable;

//&x={x}&y={y}&z={z}
//http://localhost:9999/mbtile?model=gd&type=png&layer=0103&x={x}&y={y}&z={z}
public class WmsParam implements Serializable {
    private int x;
    private int y;
    private int z;
    private String model;//数据库名称
    private String type;//mbtiles pbf png jpeg wvt  ......
    private String layer;//图层----对应数据库表---不同的图层放在不同 的表中

    /////////////////////////////////////////////////
    public static final String type_mbtile = "mbtiles";
    //矢量
    public static final String type_pbf = "pbf";
    public static final String type_wvt = "wvt";
    //栅格
    public static final String type_png = "png";
    public static final String type_jpeg = "jpeg";
    public static final String type_jpg = "jpg";
    /////////////////////////////////////////////

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getZ() {
        return z;
    }

    public void setZ(int z) {
        this.z = z;
    }

    public String getLayer() {
        return layer;
    }

    public void setLayer(String layer) {
        this.layer = layer;
    }
}
